package com.ysg.sportsportlsit.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ysg.common.annotation.Excel;
import com.ysg.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 运动会届对象 sports_information
 * 
 * @author 叶双贵
 * @date 2022-03-24
 */
public class SportsInformation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 运动会id */
    private String sportId;

    /** 运动名称 */
    @Excel(name = "运动名称")
    private String sportName;

    /** 运动会主题 */
    @Excel(name = "运动会主题")
    private String sportTheme;

    /** 运动会举办地点 */
    @Excel(name = "运动会举办地点")
    private String sportAddress;

    /** 运动会状态 */
    @Excel(name = "运动会状态")
    private String sportStatus;

    /** 运动会开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "运动会开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date sportStart;

    /** 运动会结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "运动会结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date sportEnd;

    public void setSportId(String sportId) 
    {
        this.sportId = sportId;
    }

    public String getSportId() 
    {
        return sportId;
    }
    public void setSportName(String sportName) 
    {
        this.sportName = sportName;
    }

    public String getSportName() 
    {
        return sportName;
    }
    public void setSportTheme(String sportTheme) 
    {
        this.sportTheme = sportTheme;
    }

    public String getSportTheme() 
    {
        return sportTheme;
    }
    public void setSportAddress(String sportAddress) 
    {
        this.sportAddress = sportAddress;
    }

    public String getSportAddress() 
    {
        return sportAddress;
    }
    public void setSportStatus(String sportStatus) 
    {
        this.sportStatus = sportStatus;
    }

    public String getSportStatus() 
    {
        return sportStatus;
    }
    public void setSportStart(Date sportStart) 
    {
        this.sportStart = sportStart;
    }

    public Date getSportStart() 
    {
        return sportStart;
    }
    public void setSportEnd(Date sportEnd) 
    {
        this.sportEnd = sportEnd;
    }

    public Date getSportEnd() 
    {
        return sportEnd;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("sportId", getSportId())
            .append("sportName", getSportName())
            .append("sportTheme", getSportTheme())
            .append("sportAddress", getSportAddress())
            .append("sportStatus", getSportStatus())
            .append("sportStart", getSportStart())
            .append("sportEnd", getSportEnd())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
